package com.neusoft.liduan.d0912;

public class Zi extends Fu{
	/*	如果父类中没有无参构造方法，则子类必须要通过super关键调用父类中构造方法
	 * 
	 */
	public static int b = 10;
	public int c = 10;
	public Zi() {
//		int i = 0;
		super(30);
		System.out.println("Zi构造方法");
	}
	
	{
		System.out.println("Zi代码块");
	}
	
	static {
		System.out.println("Zi静态代码块");
	}

	public static void main(String[] args) {
		Zi zi = new Zi();
		System.out.println(b);
	}
}
